import { request } from '@/utils/request'

// 获取字典列表
export function getDictList(code) {
  return request('/m/base/dict/listbycode', 'POST', { code })
}

// 获取附件列表
export function getAttachmentList(data) {
  return request('/base/attachment/find', 'POST', data)
}

// 获取最新的附件
export function getLatestAttachment(data) {
  return request('/base/attachment/last', 'POST', data)
}
